package com.lemon.support.exception;

import com.lemon.support.base.LoggerAble;
import com.lemon.support.base.TopEnum;

/**
 * @program: lemonnote
 * @description: 业务类运行时异常
 * @author: Lemontree
 * @create: 2018-05-18 22:29
 **/
public class BizRuntimeException extends BaseBizException
        implements LoggerAble {

    public BizRuntimeException() {
        super(ExceptionResCode.SYS_UNEXPECTED_ERROR);
    }

    public BizRuntimeException(String message) {
        super(message);
    }

    public BizRuntimeException(String message, Object... args) {
        super(message, args);
    }

    public BizRuntimeException(TopEnum topEnum, String solution) {
        super(topEnum, solution);
    }

    public BizRuntimeException(TopEnum topEnum) {
        super(topEnum);
    }

    public BizRuntimeException(int code, String message) {
        super(code, message);
    }

    public BizRuntimeException(int code, String message, String solution) {
        super(code, message, solution);
    }

    public BizRuntimeException(TopEnum topEnum, Object... args) {
        super(topEnum, args);
    }

    public BizRuntimeException(TopEnum topEnum, String solution,
                               Object... args) {
        super(topEnum, solution, args);
    }

    public BizRuntimeException(int code, String message, Object... args) {
        super(code, message, args);
    }

    public BizRuntimeException(int code, String message, String solution,
                               Object... args) {
        super(code, message, solution, args);
    }
}
